import api from "../index";

export function getAccessToken(data) {
  return api.request({
    url: "/cgi-bin/token",
    method: "get",
    params: data,
  });
}

export function getticket(data) {
  return api.request({
    url: "/cgi-bin/ticket/getticket",
    method: "get",
    params: data,
  });
}
